#pragma once
#include "VertexArray.h"
#include "glm/glm.hpp"
namespace Orange
{

    class RendererApi
    {
    public:
        enum class API
        {
            None = 0,
            OpenGL
        };
        virtual void Init() = 0;
        virtual void SetClearColor(const glm::vec4 &color) = 0;
        virtual void Clear() = 0;
        virtual void Draw(const Ref<VertexArray> &VertexBuffer) = 0;

        const API GetAPI() const
        {
            return m_API;
        };

    private:
        static API m_API;
    };
}